package com.data.service.biz;

import com.data.model.request.IndexQueryRequest;
import com.data.model.request.SimpleQueryRequest;
import com.data.model.request.SyncTableRequest;

import java.util.List;
import java.util.Map;

public interface DataSourceFacade {
    /**
     * 表同步
     */
    public List<Map<String, Object>> syncTable(SyncTableRequest request);

    /**
     * 指标查询
     *
     * @param request
     * @return
     */
    public List<Map<String, Object>> indexQuery(IndexQueryRequest request);

    /**
     * 简单查询
     *
     * @param request
     * @return
     */
    public List<Map<String, Object>> simpleQuery(SimpleQueryRequest request);
}
